package com.sz.admin.serviceorder.pojo.po;

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.io.Serial;
import com.sz.mysql.EntityChangeListener;
import java.time.LocalDateTime;

/**
* <p>
* 服务订单表
* </p>
*
* @author sz-admin
* @since 2024-10-16
*/
@Data
@Table(value = "service_order", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "服务订单表")
public class ServiceOrder implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description ="订单id")
    private Long id;

    @Schema(description ="花纹")
    private String figure;

    @Schema(description ="规格")
    private String standards;

    @Schema(description ="加硫号")
    private String sulfurNum;

    @Schema(description ="原始沟深")
    private Integer initDitchDepth;

    @Schema(description ="用户手机号")
    private String userPhone;

    @Schema(description ="用户地址")
    private String address;

    @Schema(description ="问题描述")
    private String describe;

    @Schema(description ="图片地址")
    private String imgUrl;

    @Schema(description ="销售日期")
    private LocalDateTime salesDate;

    @Schema(description ="故障类型")
    private String faultType;

    @Schema(description ="后勤备注")
    private String logisticsRemarks;

    @Schema(description ="工程师备注")
    private String engineerRemarks;

    @Schema(description ="理赔形式")
    private String paymentMode;

    @Schema(description ="创建日期")
    private LocalDateTime createTime;

    @Schema(description ="更新日期")
    private LocalDateTime updateTime;

    @Schema(description ="创建人")
    private Long createId;

    @Schema(description ="更新人")
    private Long updateId;

    @Column(isLogicDelete = true)
    @Schema(description ="是否删除")
    private String delFlag;

}